from simpleutil.core import ToolClass

class MyClass(ToolClass,list):
    a: int
    b: str
    def __init__(self, a, b):
        super().__init__()
        self.a = a
        self.b = b
    def xxx(self):
        print(self.a,self.b)
        pass
cl = MyClass(3,4)
cl.xxx()
print(cl.to_json_str())